package com.example.springbook.demos.web.book.adapter;

/**
 * @author Q
 * @create 2025-06-15-17:01
 */
public class Slf4jClient {
    public static void main(String[] args) {
        Slf4jApi api1 = new Log4jSlf4jAdapter(new Log4j());
        api1.log("测试打印日志");

        Slf4jApi api2 = new LogBackSlf4jAdapter(new LogBack());
        api2.log("测试打印日志");
    }
}
